#include "json.h"
#include "json_private.h"
#include <fstream>
using namespace std;

int main()
{
    JSON_OBJ obj;
    obj.read("json.json");

    ofstream out("out.json");
    out<< obj.display();
    cout<<obj.display();
    out.close();

    return 0;
}